<template>
	<view style="padding: 0 !important;">
		<view class="parameter-title">
			产品参数
		</view>
		<view class="parameter-box">
			<text>生产日期</text>
			<text>{{parameterObj.output_time}}</text>
		</view>
		<view class="parameter-box">
			<text>品牌</text>
			<text>{{parameterObj.brand}}</text>
		</view>
		<view class="parameter-box">
			<text>系列</text>
			<text>{{parameterObj.series}}</text>
		</view>
		<view class="parameter-box">
			<text>产地</text>
			<text>{{parameterObj.origin}}</text>
		</view>
		<view class="parameter-box">
			<text>适用人群</text>
			<text v-show="parameterObj.for_people==1">所有人</text>
			<text v-show="parameterObj.for_people==2">小孩</text>
			<text v-show="parameterObj.for_people==3">年轻人</text>
			<text v-show="parameterObj.for_people==4">老年人</text>
		</view>
		<view style="width: 100%;height: 200rpx;">
			
		</view>
		<view class="btn">
			确定
		</view>
	</view>
</template>

<script>
	export default {
		props:["parameterObj"],
		data() {
			return {
				
			}
		},
		methods: {
			
		}
	}
</script>

<style scoped lang="less">
	.btn{
		position: fixed;
		bottom: 0;
		left: 0;
		width: 100%;
		height: 88rpx;
		line-height: 88rpx;
		text-align: center;
		background: #FF0000;
		opacity: 1;
		border-radius: 44rpx;
		font-size: 32rpx;
		font-family: Source Han Sans CN;
		font-weight: bold;
		color: #FFFFFF;
		}
	.parameter-box{
		padding-bottom: 20rpx;
		padding-top: 20rpx;
		display: flex;
		align-items: center;
		border-bottom: 2rpx solid #F2F2F2;
		text:first-child{
			font-size: 32rpx;
			font-family: Source Han Sans CN;
			font-weight: 400;
			color: #333333;
			width: 180rpx;
		}
		text:last-child{
			font-size: 28rpx;
			font-family: Source Han Sans CN;
			font-weight: 400;
			color: #999999;
		}
		}
.parameter-title{
	font-size: 32rpx;
	font-family: Source Han Sans CN;
	font-weight: 400;
	text-align: center;
	color: #333333;
	margin-bottom: 66rpx;
}
</style>
